<template>
  <TinyWhiteboard
    :id="id"
    :path="path"
    :isUpdate="isUpdate"
    :name="name"
  ></TinyWhiteboard>
</template>


<script>
import TinyWhiteboard from '../components/TinyWhiteboard'
export default {
  components: {
    TinyWhiteboard,
  },
  data() {
    return {
      id: 0,
      isUpdate: false,
      path: null,
      name: '一层',
      form: {
        content: null,
      },
    }
  },
  created: function () {
    this.id = this.$route.query.id
    this.path = this.$route.query.path
    if (this.$route.query.name) {
      this.name = this.$route.query.name
    }

    this.isUpdate = this.$route.query.isUpdate
  },
  mounted: function () {},
}
</script>
<style scoped>
</style>
